import React from "react";

const Login = React.lazy(() => import("../page/login"));
const Home = React.lazy(() => import("../page/home"));
export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: Home,
    title: "home",
  },
  {
    path: "/login",
    component: Login,
    title: "login",
  },
];
